package o;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.Menu;
import android.view.MenuItem;
import android.view.MenuItem.OnMenuItemClickListener;
import android.webkit.WebView;

public abstract class baq implements OnMenuItemClickListener {
    protected WebView ˋ;
    protected Context ˎ;
    protected String ˏ;

    public abstract int ˋ();

    public abstract Drawable ˎ(Context context);

    public abstract void ˎ();

    public abstract int ˏ();

    public void ˎ(Context context, WebView webView, String str) {
        this.ˋ = webView;
        this.ˏ = str;
        this.ˎ = context;
    }

    public void ˏ(Context context, WebView webView, Menu menu, String str, int i) {
        ˎ(context, webView, str);
        menu.add(0, ˋ(), i, ˏ()).setOnMenuItemClickListener(this);
    }

    public boolean onMenuItemClick(MenuItem menuItem) {
        ˎ();
        return true;
    }
}
